package cn.itcast.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import javax.management.relation.Role;

public class Person implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	Integer personId;
	
	String personName;
	
	Date birthday;
	
	String address;
	
	String gender;

	



	public Integer getPersonId() {
		return personId;
	}

	public void setPersonId(Integer personId) {
		this.personId = personId;
	}

	public String getPersonName() {
		return personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}
	
	@Override
	public String toString() {
		return this.getPersonId() + " "+ this.getPersonName() + " " + this.getBirthday() + " "+ this.getAddress()+ " "+ this.getGender();
	}

}
